$(function(){
        $.ajax({
        url: urlcore + "/api/order/getPlatformInfo",
        type: "get",
        dataType: 'json',
        contentType: "application/json;charset=utf-8",
        success:function(data){
            if (data.success == true) {
            	var da =data.data;
                $('.shopCount').html(da.shopCount);
                $('.allOrderCount').html(da.allOrderCount);
                $('.allOrderMoney').html(da.allOrderMoney);
                $('.orderCountByNow').html(da.orderCountByNow);
                $('.orderMoneyByNow').html(da.orderMoneyByNow);
                $('.auditShopCount').html(da.auditShopCount);
                $('.auditZbCount').html(da.auditZbCount);
            } else if (data.code == 'OVERTIME'){
                var thisUrl = window.location.href;
                if (thisUrl.indexOf('login.html') <= -1) {
                    top.window.location.href="login.html";
                }
            } else {
                alert(data.msg);
            }
        },
        error:function() {
            alert("error");
        }
    });
   

});


 